package com.wsb.wetchat.mapper;

import com.wsb.wetchat.dao.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author wang shaobo
 * @date 2022/6/22  16:57
 */
@Mapper
public interface UserMapper {

    public void addUser(User user);

    public int update(User user);

    public List<User> queryUserByName(String name);

    public User queryUserById(int id);

    public int updateName(int id,String name);

    public int delUser(int id);
}
